﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using S4Store.Domain;
using S4Store.Models;
using S4Store.Service;

namespace S4Store.Controllers
{
    public class CommonController : ReportBaseController
    {

        public ActionResult ReportBar(ReportBarModel model)
        {            
            return View(model);
        }
        public ActionResult StoreList(string action, string controller, string plusitem = "")
        {
            StoreListModel model = new StoreListModel();
            model.Action = action;
            model.Controller = controller;
            model.PlusItem = plusitem;
            model.Store = Store;
            model.Stores = GetStores();
            return View(model);
        }
    }
}
